package user.com.service;

import com.Exception.GlobalException;
import user.com.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import user.com.entity.Dto.*;
import user.com.entity.Vo.UserLoginVo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xwj
 * @since 2023-11-11
 */
public interface UserService extends IService<User> {
    UserLoginDto loginWithMsg(UserLoginVo info) throws GlobalException;
    UserLoginDto loginWithPass(UserLoginVo info) throws GlobalException;

    UserLoginDto getUserInfoByUid(String uid) throws GlobalException;
}
